package com.run.spring.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Date;

/**
 * @description:
 * @project springboot_demo
 * @author HeWenWen
 * @date 2024-09-11 17:52
 * @version 1.0
 */
@RestController
public class TestController {

    @GetMapping(value = "/test")
//    @RequestMapping(value = "/test")
    public String test() {
        return "2024hello " + new Date();
    }

}
